From c8e361e8071dc70c1b89e97741f6958330ff85c4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 11 Apr 2026 12:49:35 +0100 Subject: [PATCH] d/watch: Convert to v5 format --- debian/watch | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/debian/watch b/debian/watch index 9bc35d32..287c8b1e 100644 --- a/debian/watch +++ b/debian/watch @@ -1,9 +1,10 @@ -version=4 +Version: 5 + # Upstream releases official Autotools 'make dist' tarballs, so we use # those in preference to git tags -opts="\ - compression=xz, \ - dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)//, \ - downloadurlmangle=s#/tag/#/download/#;s#(v?@ANY_VERSION@)$#$1/libostree-$2.tar.xz#, \ - filenamemangle=s#v?@ANY_VERSION@#@PACKAGE@-$1.tar.xz#" \ -https://github.com/ostreedev/@PACKAGE@/tags .*/releases/tag/v?@ANY_VERSION@ +Source: https://github.com/ostreedev/@PACKAGE@/tags +Matching-Pattern: .*/releases/tag/v?@ANY_VERSION@ +Compression: xz +Download-Url-Mangle: s#/tag/#/download/#;s#(v?@ANY_VERSION@)$#$1/libostree-$2.tar.xz# +Dversion-Mangle: s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)// +Filename-Mangle: s#v?@ANY_VERSION@#@PACKAGE@-$1.tar.xz# -- 2.39.5